package com.yx.robot.bean.robot;

public class FirmwareInfo implements Clear{
    /**
     * "botName"	string		机器名
     * "battery" 			电池容量
     * "compileVerions"	string		固件版本
     * "mcuVersion"			MCU版本
     * "uuid"			uuid
     * "sn"			序列号
     * "mac"			Mac地址
     * "ip"			IP地址
     * "ssid"			连接热点名称
     */

    private String deviceName;
    private String uuid;
    private String sn;
    private int batteryCapacity;
    private String compileVerions;
    private String mcuVersion;
    private String mac;
    private String ip;
    private String ssid;
    private String BaseStationVersion;

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public int getBatteryCapacity() {
        return batteryCapacity;
    }

    public void setBatteryCapacity(int batteryCapacity) {
        this.batteryCapacity = batteryCapacity;
    }

    public String getCompileVerions() {
        return compileVerions;
    }

    public void setCompileVerions(String compileVerions) {
        this.compileVerions = compileVerions;
    }

    public String getMcuVersion() {
        return mcuVersion;
    }

    public void setMcuVersion(String mcuVersion) {
        this.mcuVersion = mcuVersion;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getSsid() {
        return ssid;
    }

    public void setSsid(String ssid) {
        this.ssid = ssid;
    }

    public String getBaseStationVersion() {
        return BaseStationVersion;
    }

    public void setBaseStationVersion(String baseStationVersion) {
        BaseStationVersion = baseStationVersion;
    }

    @Override
    public String toString() {
        return "{" +
                "\"botName\":\'" + deviceName + "\'" +
                ", \"battery\":" + batteryCapacity +
                ", \"compileVerions\":\'" + compileVerions + "\'" +
                ", \"mcuVersion\":\'" + mcuVersion + "\'" +
                ", \"uuid\":\'" + uuid + "\'" +
                ", \"serialNumber\":\'" + sn + "\'" +
                ", \"macAddr\":\'" + mac + "\'" +
                ", \"ipAddr\":\'" + ip + "\'" +
                ", \"connectedSsid\":\'" + ssid + "\'" +
                '}';
    }

    @Override
    public void clear() {

    }
}
